package com.wn.product;

import com.wn.confirm.ProductConfirm;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

/**
 * @author yellow Docter
 * @date 2023 -07-25
 * @desc
 *  测试消息 确认机制
 */
@SpringBootTest
public class RabbitMQTest05 {

    @Autowired
    private ProductConfirm productConfirm;

    @Test
    public void demo01(){
        productConfirm.send("中奖了，40000w");
    }
}